<?php require 'TVB/pms/pdes/CmsFramework/requires.php';?>

<?php
$login = true;
$username = 'Billy Yung';
?>

<?php
    if (isset($_REQUEST['param_cast_id'])) {
        header('location: pms-ane.html?act=edit&type=cast&step=2');
        exit;
    }
?>


<!doctype html public "-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>

	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
	<title>TVB.COM - PMS2.0 - PDES</title>

	<?php include("inc/embed_top.php"); ?>

</head>

<body id="pms-list">

	<div id="doc4">

		<div id="hd">

          	<?php include("inc/masthead.php"); ?>

          	<?php include("inc/cms_header.php"); ?>

		</div>

		<div id="bd">

            <?php
				$type = isset($_REQUEST['type']) ? $_REQUEST['type'] : '';

                switch ($type) {
                    case 'mis':
                        include("inc/mis-list.php");
                        break;
                    case 'autopublish':
                        include("inc/autopublish-list.php");
                        break;
                    case '':
                        //do nothing
                        break;
                    default:
                        include("inc/result-list.php");
                }
            ?>

          	<?php include("inc/pop-find.php"); ?>
          	
          	<?php include("inc/pop-list.php"); ?>

		</div>

		<div id="ft">

          	<?php include("inc/footer.php"); ?>

		</div>

	</div>
    
    <?php include("inc/global-cfg.php"); ?>
    <?php include("inc/embed_bottom.php"); ?>    

</body>

</html>
